home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
cclib
/
source
/
test.lmk
< prev
next >
Wrap
Text File
|
1990-02-14
|
882b
|
39 lines
#
# Make file for Lattice C test program
#
# --- the directory for the cclib.library include files
DINCLUDE=a:dinclude
# --- location of the special main routine
SYSOBJ=lcmain.o
# --- location of the Lattice startup module
COBJ=lib:cc.o
# --- connection routines for cclib.library
CCLIB=lib:lcclib.lib
# --- standard Lattice libraries
LIB=lib:
LATTICECLIB=$(LIB)lcmieee.lib,$(LIB)lc.lib,$(LIB)amiga.lib
# --- name of the compile and link commands
CC=lc
LN=blink
# --- flags for the linker
LNFLAGS1=$(COBJ),$(SYSOBJ)
LNFLAGS2=lib $(CCLIB),$(LATTICECLIB)
# --- flags for the compiler
CFLAGS=-fi -i$(DINCLUDE)
# --- production rule for compiling
.c.o:
$(CC) $(CFLAGS) $*.c
# *********** specifics for the application *********************
MKFILE=test.lmk
PROGNAME=test
OBJ=test.o
$(PROGNAME): $(SYSOBJ) $(OBJ) $(MKFILE)
$(LN) $(LNFLAGS1),$(OBJ) to $(PROGNAME) $(LNFLAGS2)